﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000897 RID: 2199
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GLCCJMLODBH : IMessage<GLCCJMLODBH>, IMessage, IEquatable<GLCCJMLODBH>, IDeepCloneable<GLCCJMLODBH>, IBufferMessage
	{
		// Token: 0x17001BAD RID: 7085
		// (get) Token: 0x06006243 RID: 25155 RVA: 0x00104F78 File Offset: 0x00103178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GLCCJMLODBH> Parser
		{
			get
			{
				return GLCCJMLODBH._parser;
			}
		}

		// Token: 0x17001BAE RID: 7086
		// (get) Token: 0x06006244 RID: 25156 RVA: 0x00104F7F File Offset: 0x0010317F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GLCCJMLODBHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001BAF RID: 7087
		// (get) Token: 0x06006245 RID: 25157 RVA: 0x00104F91 File Offset: 0x00103191
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GLCCJMLODBH.Descriptor;
			}
		}

		// Token: 0x06006246 RID: 25158 RVA: 0x00104F98 File Offset: 0x00103198
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GLCCJMLODBH()
		{
		}

		// Token: 0x06006247 RID: 25159 RVA: 0x00104FAB File Offset: 0x001031AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GLCCJMLODBH(GLCCJMLODBH other) : this()
		{
			this.buffList_ = other.buffList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006248 RID: 25160 RVA: 0x00104FD5 File Offset: 0x001031D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GLCCJMLODBH Clone()
		{
			return new GLCCJMLODBH(this);
		}

		// Token: 0x17001BB0 RID: 7088
		// (get) Token: 0x06006249 RID: 25161 RVA: 0x00104FDD File Offset: 0x001031DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<DDNHBFCDPJN> BuffList
		{
			get
			{
				return this.buffList_;
			}
		}

		// Token: 0x0600624A RID: 25162 RVA: 0x00104FE5 File Offset: 0x001031E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GLCCJMLODBH);
		}

		// Token: 0x0600624B RID: 25163 RVA: 0x00104FF3 File Offset: 0x001031F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GLCCJMLODBH other)
		{
			return other != null && (other == this || (this.buffList_.Equals(other.buffList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600624C RID: 25164 RVA: 0x00105028 File Offset: 0x00103228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.buffList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600624D RID: 25165 RVA: 0x0010505C File Offset: 0x0010325C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600624E RID: 25166 RVA: 0x00105064 File Offset: 0x00103264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600624F RID: 25167 RVA: 0x0010506D File Offset: 0x0010326D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.buffList_.WriteTo(ref output, GLCCJMLODBH._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006250 RID: 25168 RVA: 0x00105094 File Offset: 0x00103294
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.buffList_.CalculateSize(GLCCJMLODBH._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006251 RID: 25169 RVA: 0x001050CD File Offset: 0x001032CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GLCCJMLODBH other)
		{
			if (other == null)
			{
				return;
			}
			this.buffList_.Add(other.buffList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006252 RID: 25170 RVA: 0x001050FB File Offset: 0x001032FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006253 RID: 25171 RVA: 0x00105104 File Offset: 0x00103304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.buffList_.AddEntriesFrom(ref input, GLCCJMLODBH._repeated_buffList_codec);
				}
			}
		}

		// Token: 0x04002597 RID: 9623
		private static readonly MessageParser<GLCCJMLODBH> _parser = new MessageParser<GLCCJMLODBH>(() => new GLCCJMLODBH());

		// Token: 0x04002598 RID: 9624
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002599 RID: 9625
		public const int BuffListFieldNumber = 7;

		// Token: 0x0400259A RID: 9626
		private static readonly FieldCodec<DDNHBFCDPJN> _repeated_buffList_codec = FieldCodec.ForMessage<DDNHBFCDPJN>(58U, DDNHBFCDPJN.Parser);

		// Token: 0x0400259B RID: 9627
		private readonly RepeatedField<DDNHBFCDPJN> buffList_ = new RepeatedField<DDNHBFCDPJN>();
	}
}
